enum Cmd {
  start(cmd: "START"),
  stop(cmd: "_STOP"),
  restart,
  destroy();

  const Cmd({this.cmd});

  final String? cmd;

  @override
  String toString() => cmd??name ;
}

main() {
  print(Cmd.start);
  print(Cmd.stop);
  print(Cmd.restart);
  print(Cmd.destroy);
}
